package com.doyutu.seed.entity.vo;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

/**
 * @author DoyuTu
 * @version 0.0.1
 * spring-boot-project-seed
 */
@Data
public class User {
    @NotNull(message = "用户名不允许为空")
    private String username;
    @NotNull(message = "密码不允许为空")
    @Size(min = 6, max = 12, message = "请输入6到12位")
    private String password;
    //记住我
    private boolean rememberMe;
}
